/****************************************************
    文件：CreateWnd.cs
	作者：kk
    邮箱: 627515104@qq.com
    日期：2020/8/29 15:53:14
	功能：Nothing
*****************************************************/

using UnityEngine;
using UnityEngine.UI;

public class CreateWnd : WindowRoot
{
    public InputField iptName;
    protected override void InitWnd()
    {
        base.InitWnd();

        iptName.text = resSvc.GetRDNameData(false);
    }

    public void ClickRandBtn()
    {
        audioSvc.PlayUIAudio(Constants.UIClickBtn);
        string rdName = resSvc.GetRDNameData();
        iptName.text = rdName;
    }

    public void ClickEnterBtn()
    {

    }
}